<%@ page import="com.mastercard.labs.Audit" %>



<div class="fieldcontain ${hasErrors(bean: auditInstance, field: 'audit', 'error')} ">
	<label for="audit">
		<g:message code="audit.audit.label" default="Audit" />
		
	</label>
	<g:textField name="audit" value="${auditInstance?.audit}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: auditInstance, field: 'auditTime', 'error')} required">
	<label for="auditTime">
		<g:message code="audit.auditTime.label" default="Audit Time" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="auditTime" precision="day"  value="${auditInstance?.auditTime}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: auditInstance, field: 'user', 'error')} required">
	<label for="user">
		<g:message code="audit.user.label" default="User" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="user" name="user.id" from="${com.mastercard.labs.User.list()}" optionKey="id" required="" value="${auditInstance?.user?.id}" class="many-to-one"/>
</div>

